import urllib.request

# 视频链接
video_url = "https://vdn6.vzuu.com/FHD/bc2ffd6c-3209-11ef-aef2-4a3dc7f40eaf-v8_f2_t1_FP7WgGRI.mp4?pkey=AAWXcXuDF7E1QDcc5ieLkuzI15LlHWt6Q6tm-RBsiCRmLO2LUBtWUyuGMHjH26jXGOoIEzNCl0wv8hhJc-STUpjd&bu=178e6938&c=avc.8.0&expiration=1733410872&f=mp4&pu=178e6938&v=ks6"

# 保存文件的路径
output_file = "video.mp4"

# 下载视频
try:
    urllib.request.urlretrieve(video_url, output_file)
    print(f"视频已成功下载并保存为 {output_file}")
except Exception as e:
    print(f"下载失败: {e}")
